package com.zjdiepu.www.model.other.ext;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.zjdiepu.www.base.core.PageExt;

/**
 * 公告<br/>
 * @author xiongxiaotun<br/>
 * @time 2017年06月09日 18时59分<br/>
 * @since 1.0<br/>
 */
@ApiModel(value="OtherNoticeExt", description="公告查询条件", parent = PageExt.class)
public class OtherNoticeExt extends PageExt {
	
	private static final long serialVersionUID = 1L;
	/**
	 * 公告标题
	 */
	@ApiModelProperty(name="titleNotice",required=false,value="公告标题",example="公告标题")
	private String titleNotice;
	
	/**
	 * 公告内容
	 */
	@ApiModelProperty(name="contentNotice",required=false,value="公告内容",example="公告内容",hidden=true)
	private String contentNotice;
	
	/**
	 * 公告有效期
	 */
	@ApiModelProperty(name="dateValid",required=false,value="公告有效期",example="2017-04-23 14:22:43")
	private Date dateValid;
	
	/**
	 * 公告有效期:开始时间
	 */
	@ApiModelProperty(name="dateValidStart",required=false,value="公告有效期",example="2017-04-23 14:22:43")
	private Date dateValidStart;
	
	/**
	 * 公告有效期：结束时间
	 */
	@ApiModelProperty(name="dateValidEnd",required=false,value="公告有效期",example="2017-04-23 14:22:43")
	private Date dateValidEnd;
	
	public String getTitleNotice(){
		return this.titleNotice;
	}
	
	public void setTitleNotice(String titleNotice){
		this.titleNotice = titleNotice;
	}

	public String getContentNotice(){
		return this.contentNotice;
	}
	
	public void setContentNotice(String contentNotice){
		this.contentNotice = contentNotice;
	}

	public Date getDateValid(){
		return this.dateValid;
	}
	
	public void setDateValid(Date dateValid){
		this.dateValid = dateValid;
	}

	public Date getDateValidStart() {
		return dateValidStart;
	}

	public void setDateValidStart(Date dateValidStart) {
		this.dateValidStart = dateValidStart;
	}

	public Date getDateValidEnd() {
		return dateValidEnd;
	}

	public void setDateValidEnd(Date dateValidEnd) {
		this.dateValidEnd = dateValidEnd;
	}

	@Override
	public String toString() {
		return super.toString() + "OtherNotice [titleNotice = " + titleNotice + ", contentNotice = " + contentNotice + ", dateValid = " + dateValid + "]";
	}
    
}